package com.elitedatai.mchtest.media.model;

import com.elitedatai.mchtest.common.model.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import jakarta.persistence.*;


@Table(name = "media_file")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Entity
public class MediaFileEntity extends BaseEntity implements Serializable {
    

    @Column(name = "file_id")
    private String fileId;

    @Column(name = "file_name")
    private String fileName;

    @Column(name = "file_path")
    private String filePath;

    @Column(name = "workspace_id")
    private String workspaceId;

    @Column(name = "fingerprint")
    private String fingerprint;

    @Column(name = "tinny_fingerprint")
    private String tinnyFingerprint;

    @Column(name = "object_key")
    private String objectKey;

    @Column(name = "sub_file_type")
    private Integer subFileType;

    @Column(name = "is_original")
    private Boolean isOriginal;

    @Column(name = "drone")
    private String drone;

    @Column(name = "payload")
    private String payload;

    @Column(name = "job_id")
    private String jobId;

}

